package com.clarence.login.dao;


import com.clarence.login.vo.User;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author clarence
 */
@Component
public interface UserDao {

    User getUserByUsername(String username);

    List<String> getRolesByUserName(String username);
}
